package com.yfp.group.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @Description: 公众号配置
 * 
 * @CreateDate: 2024/7/4 19:16
 * @UpdateUser: 
 * @UpdateDate: 2024/7/4 19:16
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Data
@ConfigurationProperties(prefix = "wx.mp")
public class WxMpProperties {
    /**
     * 多个公众号配置信息
     */
    private List<Config> configs;

    @Data
    public static class Config {
        /**
         * 设置微信公众号的appid
         */
        private String appId;

        /**
         * 设置微信公众号的app secret
         */
        private String secret;

        /**
         * 设置微信公众号的token
         */
        private String token;

        /**
         * 设置微信公众号的EncodingAESKey
         */
        private String aesKey;
    }
}